﻿@model IceTea.Domain.Models.Product

@if (Model == null)
{
    Html.Partial("_ErrorMessage", "Failed to get product information");
}
else{
<table class="table">
            <thead>
                <tr><td class="col-md-3"></td>
                    <td class="col-md-8"></td>
                </tr>
            </thead>
            <tbody>
            <tr>
                <td>@Html.LabelFor(p => p.Name)</td>
                <td>@Html.DisplayFor(p => p.Name)</td>                
            </tr>
            <tr>
                <td>@Html.LabelFor(p => p.Description)</td>
                <td class="richtext">@Html.DisplayFor(p => p.Description)</td>                
            </tr>
            <tr>
                <td>@Html.LabelFor(p => p.SprintDuration)</td>
                <td>@Html.DisplayFor(p => p.SprintDuration) Weeks</td>
            </tr>
            <tr>
                <td>@Html.LabelFor(p => p.Vision)</td>
                <td class="richtext">@Html.DisplayFor(p => p.Vision)</td>                
            </tr>
            </tbody>
</table>
}